<div class="colRmargin">
    <div class="guide-line">
    	<h1 class="guide">Uploaded Docs</h1>
    </div>
	<div></div>
    <div class="order-list-outter-wrap">
        <div class="order-list-inner-wrap">
            <table width="100%" cellspacing="0" cellpadding="0" border="0" class="order-list-title dpl-table dpl-table-fullborder">
                <tbody>
                    <tr>
                        <th class="order-col-h1 dpl-th-left">文档标题/名称</th>
                        <th class="order-col-h2">文件名</th>
                        <th class="order-col-h3">上传时间</th>
                        <th class="order-col-h4">售价</th>
                        <th class="order-col-h5"><div id="tranding-status-filter">审核状态</div></th>
                        <th class="order-col-h6 dpl-th-right">编辑</th>
                    </tr>
                <?php 
					if(!empty($docs)) {
						foreach($docs as $k => $v) {
							$next_rtid = '';
							if(isset($docs[$k + 1]['rtid'])) $next_rtid = $docs[$k + 1]['rtid'];
							$auditing =  '未递交审核';
							if($v['auditing'] == 1) $auditing =  '递交审核';
							if($v['auditing'] == 2) $auditing =  '审核中' ;
							if($v['auditing'] == 3) $auditing =  '未通过审核';
							echo '<tr><td>'.$v['title'].'</td>
							<td>'.$v['file_title'].$v['doc_type'].'</td>
							<td>'.$v['add_date'].'</td>
							<td>'.$v['price'].'</td>
							<td>'.$auditing.'</td>
							<td><a href="'.$this->config->base_url('user/mydocs/edit?rtid='.$v['rtid']).'&next_rtid='.$next_rtid.'">编辑</a> <a onClick="return confirm(\'您确定要删除么？\');" href="'.$this->config->base_url('user/mydocs/edit?delid='.$v['rtid']).'">删除</a></td></tr>';
						}
					} else {
				?>
                    <tr>
                        <td></td>
                        <td></td>
                        <td>暂无上传资料</td>
                        <td></td>
                        <td></td>
                        <td></td>
                    </tr>
                <?php  } ?>
                </tbody>
            </table>
   	 	</div>
        <div class="no-order-box"><span class="icon icon-info"></span></div>
        <p><a href="#img"></a></p>
    </div>
</div>